package com.rpay.dao.mapper;

import com.rpay.dao.util.MyMapper;
import com.rpay.model.admin.RpayAdminUser;
import com.rpay.model.admin.RpayAdminUserRole;

import java.util.List;
import java.util.Map;

public interface RpayAdminUserRoleMapper extends MyMapper<RpayAdminUserRole> {
    List<RpayAdminUserRole> getRoleByUser(RpayAdminUser user);

    List<Map> getRoleandNameByUser(RpayAdminUser user);

    Integer checkIsSuperadmin(String user_name);
}